package com.sn.shop.dao;

import com.sn.shop.model.User;
import org.apache.ibatis.annotations.Param;

/**
 * @auther sn
 * @date 2018/1/23
 * @description TODO
 */
public interface UserMapper {

    int changePassword(@Param("password") String password);

    User selectById(@Param("id") int id);

    User selectByName(@Param("name") String name);
}
